<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="conversation.css" rel="STYLESHEET" type="text/css">
<title>Edit Dialogue Act</title>
</head>
<body>
<!--        Header         -->
<jsp:include page="scripts/headerEdit.jsp" >
    <jsp:param name="title" value="Merge Dialogue Act Label" />
</jsp:include>
<!--        List           -->
<p/>
<form:form method="POST" action="mergedalabel.html" commandName="dalToBeMerged">
	<table>
  	<tr>
			<th align="left">Scheme</th>
			<th align="left">Dimension</th>
	    <th align="left">Label</th>
		</tr>
		<tr>
  		<td></td>
	    <td></td>
  	  <td>
  	  	<form:select path="dialogueActLabelId">
  	  	  <c:forEach items="${daLabels}" var="daLabel">
  	  	  	<option value='<c:out value="${daLabel.dialogueActLabelId}"/>'>
  	  	  	  <c:out value="${daLabel.label}"/>
  	  	  	</option>
  	  	  </c:forEach>
  	  	</form:select>			  		      
	  	</td>
		</tr>
	</table>

<p align="center"><input value="Merge" type="submit">
<input name="cancel" type="button" value="Cancel"
	onClick="javascript:window.location='mergedalabel.html'"></p>
</form:form>
</body>
</html>

